Relations in discrete mathematics